# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=ntp-fingerprint
pkgver=0.1
pkgrel=5
pkgdesc='An active fingerprinting utility specifically designed to identify the OS the NTP server is running on.'
groups=('blackarch' 'blackarch-fingerprint')
arch=('any')
url='http://www.hackingciscoexposed.com/?link=tools'
license=('GPL2')
depends=('perl')
source=("http://www.hackingciscoexposed.com/tools/$pkgname.tar.gz")
sha512sums=('1ba667b458e8c2818c22f6569578c8d9d60f0fe0001d4f16577e53cb3bf3fb8873d1593e876a7795fcac258b3634fb3897729d69a4efeddf4811bcb4ebb5d9ab')

package() {
  cd $pkgname

  install -Dm 755 "$pkgname.pl" "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.txt CHANGELOG.txt
  install -Dm 644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

